<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'blogMessageBoard.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="css/footer.css">
		<link rel="stylesheet" type="text/css" href="css/blog_header.css">

		<link rel="stylesheet" type="text/css"
			href="css/blog_center_right.css">
		<link rel="stylesheet" type="text/css" href="css/blog_top_head.css">
		<link rel="stylesheet" type="text/css" href="css/blogDiary.css">
		<link rel="stylesheet" type="text/css" href="css/pageStyleOne.css">
		<link rel="stylesheet" type="text/css" href="css/viewAlbum.css">
		<script type="text/javascript" src="js/parseIcon.js">
</script>
		<script type="text/javascript" src="js/jquery.js">
</script>
		<script type="text/javascript">
</script>
	</head>

	<body onload="parseIcon()">
		<div class="tbody">
			<%@ include file="styleJsp/blog_top_head.jsp"%>
			<div class="table">
				<%@include file="styleJsp/blog_header.jsp"%>
				<div class="center">
					<div id="content">
						<div class="center_left">
							<div class="center_left_title">
								<b>相册：我的相册</b>
							</div>
							<div class="center_view_album">
								<div class="center_view_album1">
									<span class="center_view_album1-0"><a
										href="lookAlbumAction_lookUserAlbum?userId=${userId}">返回相册列表</a>
									</span>
									<span class="center_view_album1-1">共<s:property
											value='images.size()' />张图片</span>
									<span class="center_view_album1-4"><a
										href="deleteAlbumAction_deleteUserAlbum?userId=<s:property value='userId' />&albumId=<s:property value='albumId'/>">删除本相册</a>
									</span>

								</div>

								<div class="center_view_album2">
									<s:iterator value="images">
										<div class="center_view_album2-0">
											<span class="center_view_album2-1"> <span><a
													href="lookAlbumAction_lookAlbumImage?albumImageId=<s:property value='albumImageId'/>&userId=${userId}"><img
															src="files/<s:property value='albumImageName'/>"
															width="105" height="85" style="border: solid 1px #CCC;" />
												</a> </span> <span class="center_view_album2-2"><span
													class="center_view_album2-2-2"><a
														href="deleteAlbumAction_deleteOnlyAlbumImage?albumImageId=<s:property value='albumImageId'/>&userId=<s:property value='userId'/>&albumId=${albumId}">删除此相片</a>
												</span> </span> </span>
										</div>
									</s:iterator>
								</div>

							</div>
						</div>
					</div>
					<%@ include file="styleJsp/blog_center_right.jsp"%>
				</div>
				<%@ include file="styleJsp/footer.jsp"%>
			</div>
		</div>
	</body>
</html>
